projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28ba9d5
)
Stop a tramp test leaving a file behind
author
Glenn Morris
<rgm@gnu.org>
Fri, 14 Jun 2019 00:24:41 +0000
(20:24 -0400)
committer
Glenn Morris
<rgm@gnu.org>
Fri, 14 Jun 2019 00:24:41 +0000
(20:24 -0400)
* test/lisp/net/tramp-tests.el
(tramp-test10-write-region-file-precious-flag):
Avoid leaving a backup file after we are done.
test/lisp/net/tramp-tests.el
patch
|
blob
|
history
diff --git
a/test/lisp/net/tramp-tests.el
b/test/lisp/net/tramp-tests.el
index d4067becf93dc9ae2df556f0dfaf854642603cf5..b9868ff6a875c14f581d94a0a286cff60ef5d004 100644
(file)
--- a/
test/lisp/net/tramp-tests.el
+++ b/
test/lisp/net/tramp-tests.el
@@
-2346,6
+2346,7
@@
This checks also `file-name-as-directory', `file-name-directory',
;; Run the test.
(advice-add 'write-region :before advice)
(setq-local file-precious-flag t)
+ (setq-local backup-inhibited t)
(insert "bar")
(should (null (save-buffer)))
(should-not (cl-member tmp-name written-files :test #'string=)))